import request from '@/utils/request'

// 查询商品类目，列表
export function getProductList(params) {
  return request({
    url: '/pms/product/list',
    method: 'get',
    params
  })
}
export function getRecommendProduct(params) {
  return request({
    url: '/pms/product/recommend',
    method: 'get',
    params
  })
}

export function getProduct(id) {
  return request({
    url: '/pms/product/' + id,
    method: 'get',
  })
}

